package com.yazi.mxz.gather.entity.http;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlText;


/**
 * 供销超市商品类别查询响应结果
 * <br/>http://www.yjgxcs.com/product-7423.html，结构样板<br/>
 * <br/>&lt;div>
 * <br/>　&lt;span>&lt;a>首页&lt;/a>&lt;/span>
 * <br/>　&lt;span>&lt;a>休闲食品&lt;/a>&lt;/span>
 * <br/>　&lt;span>&lt;a>饼干糕点&lt;/a>&lt;/span>
 * <br/>&lt;/div>
 * 
 * @author mo_yq5
 * @date 2015-8-11
 */
@JsonRootName("div")
public class YjgxcsResBody4Cat {
	
	@JacksonXmlElementWrapper(useWrapping = false)
	@JacksonXmlProperty(localName="span")
	List<Span> spans;
	
	public static class Span {
		A a;

		public A getA() {
			return a;
		}

		public void setA(A a) {
			this.a = a;
		}
	}
	
	public static class A {
		@JacksonXmlText
		String text;

		public String getText() {
			return text;
		}

		public void setText(String text) {
			this.text = text;
		}
	}

	public List<Span> getSpans() {
		return spans;
	}

	public void setSpans(List<Span> spans) {
		this.spans = spans;
	}
}
